package com.bwie.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @Author:Max
 * @Date: 2024/8/9 19:00
 * @Description
 **/
@Data
public class AttaVo implements Serializable {
    /**
     * 附件ID
     */
    private Integer attaId;

    /**
     * 商品ID
     */
    private Integer prodId;

    /**
     * 附件名称
     */
    private String attaName;

    /**
     * 附件地址
     */
    private String attaUrl;
    /**
     * 轮播图
     */
    private List<String> imageList;

    //商品视频
    private String prodVideo;
    //    上架类型
    private Integer upType;
    //上架时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8",shape = JsonFormat.Shape.STRING)
    private Date upTime;
    //    下架类型
    private Integer downType;
    //    下架时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8",shape = JsonFormat.Shape.STRING)
    private Date downTime;

}
